import request from './request';
//注册
export const getRegister = (data) => {
	return request('/api/user/register', 'POST', data);
};
//验证码
export const getCode = (data) => {
	return request('/api/ems/send', 'POST', data);
};
//登录
export const getLogin = (data) => {
	return request('/api/user/login', 'POST', data);
};
//支持平台
export const support_list = (data) => {
	return request('/api/videoexport/support_list', 'GET', data);
};
//解析视频
export const getVideoexport = (data) => {
	return request('/api/videoexport/parse', 'POST', data);
};
//删除历史记录
export const del_history = (data) => {
	return request('/api/videoexport/del_history', 'POST', data);
};
//历史记录
export const history_list = (data) => {
	return request('/api/videoexport/history_list', 'POST', data);
};
//修改昵称
export const update_nickname = (data) => {
	return request('/api/user/update_nickname', 'POST', data);
};

export const resetpwd = (data) => {
	return request('/api/user/resetpwd', 'POST', data);
};
		
		
		